#region: Japanese ANSI
#format: <UNICODE>, <ROW><COL>, <MODIFIERS>
# <UNICODE>: hexadecimal unicode number or DEADKEY<N>
# <ROW>: row in keyboard matrix (hexadecimal: 0-B)
# <COL>: column in keyboard matrix (0-7)
# <MODIFIERS>: space separated list of modifiers:
#              SHIFT CTRL GRAPH CODE CAPSLOCK
0000, 02, CTRL SHIFT # ^@
0001, 26, CTRL       # ^A
0002, 27, CTRL       # ^B
0003, 30, CTRL       # ^C
0004, 31, CTRL       # ^D
0005, 32, CTRL       # ^E
0006, 33, CTRL       # ^F
0007, 34, CTRL       # ^G
0008, 75,            # Backspace
0009, 73,            # Tab
000a, 37, CTRL       # ^J
000b, 81,            # Home (is Home a unicode character?)
000c, 41, CTRL       # ^L
000d, 77,            # Enter/CR
000e, 43, CTRL       # ^N
000f, 44, CTRL       # ^O
0010, 45, CTRL       # ^P
0011, 46, CTRL       # ^Q
0012, 82,            # Insert (is Insert a unicode character?)
0013, 50, CTRL       # ^S
0014, 51, CTRL       # ^T
0015, 52, CTRL       # ^U
0016, 53, CTRL       # ^V
0017, 54, CTRL       # ^W
0018, 76,            # Select (is Select a unicode character?)
0019, 56, CTRL       # ^Y
001a, 57, CTRL       # ^Z
001b, 72,            # Escape(SDL maps ESC and ^[ to this code)
001c, 87,            # Right (SDL maps ^\ to this code)
001d, 84,            # Left  (SDL maps ^] to this code)
001e, 85,            # Up    (SDL maps ^6 to this code)
001f, 86,            # Down  (SDL maps ^/ to this code)
0020, 80,
0021, 01, SHIFT
0022, 02, SHIFT
0023, 03, SHIFT
0024, 04, SHIFT
0025, 05, SHIFT
0026, 06, SHIFT
0027, 07, SHIFT
0028, 10, SHIFT
0029, 11, SHIFT
002a, 20, SHIFT
002b, 17, SHIFT
002c, 22,
002d, 12,
002e, 23,
002f, 24,
0030, 00,
0031, 01,
0032, 02,
0033, 03,
0034, 04,
0035, 05,
0036, 06,
0037, 07,
0038, 10,
0039, 11,
003a, 20,
003b, 17,
003c, 22, SHIFT
003d, 12, SHIFT
003e, 23, SHIFT
003f, 24, SHIFT
0040, 15,
0041, 26, SHIFT
0042, 27, SHIFT
0043, 30, SHIFT
0044, 31, SHIFT
0045, 32, SHIFT
0046, 33, SHIFT
0047, 34, SHIFT
0048, 35, SHIFT
0049, 36, SHIFT
004a, 37, SHIFT
004b, 40, SHIFT
004c, 41, SHIFT
004d, 42, SHIFT
004e, 43, SHIFT
004f, 44, SHIFT
0050, 45, SHIFT
0051, 46, SHIFT
0052, 47, SHIFT
0053, 50, SHIFT
0054, 51, SHIFT
0055, 52, SHIFT
0056, 53, SHIFT
0057, 54, SHIFT
0058, 55, SHIFT
0059, 56, SHIFT
005a, 57, SHIFT
005b, 16,
005c, 14, # backslash
005d, 21,
005e, 13,
005f, 25, SHIFT
0060, 15, SHIFT
0061, 26,
0062, 27,
0063, 30,
0064, 31,
0065, 32,
0066, 33,
0067, 34,
0068, 35,
0069, 36,
006a, 37,
006b, 40,
006c, 41,
006d, 42,
006e, 43,
006f, 44,
0070, 45,
0071, 46,
0072, 47,
0073, 50,
0074, 51,
0075, 52,
0076, 53,
0077, 54,
0078, 55,
0079, 56,
007a, 57,
007b, 16, SHIFT
007c, 14, SHIFT
007d, 21, SHIFT
007e, 13, SHIFT
007f, 83,            # Delete
00a0, 80,
00a1, 42, SHIFT CAPSLOCK CODE
00a5, 14, # yen
00aa, 24, CAPSLOCK CODE
00ab, 22, SHIFT CAPSLOCK CODE
00ac, 04, SHIFT CAPSLOCK CODE
00b2, 25, CODE
00ba, 01, SHIFT CAPSLOCK CODE
00bb, 30, SHIFT CAPSLOCK CODE
00bc, 43, SHIFT CAPSLOCK CODE
00bd, 05, SHIFT CAPSLOCK CODE
00bf, 02, SHIFT CAPSLOCK CODE
00c9, 80,
00d1, 25, SHIFT CODE
00e1, 80,
03C0, 45, GRAPH
2310, 03, SHIFT CAPSLOCK CODE
2500, 12, GRAPH
2502, 36, GRAPH
250C, 32, GRAPH
2510, 51, GRAPH
2514, 30, GRAPH
2518, 27, GRAPH
251C, 31, GRAPH
2524, 34, GRAPH
252C, 47, GRAPH
2534, 53, GRAPH
253C, 33, GRAPH
2550, 44, CAPSLOCK CODE
2551, 51, CAPSLOCK CODE
2552, 42, CAPSLOCK CODE
2553, 22, CAPSLOCK CODE
2554, 00, CAPSLOCK CODE
2555, 32, CAPSLOCK CODE
2556, 54, CAPSLOCK CODE
2557, 26, CAPSLOCK CODE
2558, 43, CAPSLOCK CODE
2559, 17, CAPSLOCK CODE
255a, 11, CAPSLOCK CODE
255b, 33, CAPSLOCK CODE
255c, 31, CAPSLOCK CODE
255d, 50, CAPSLOCK CODE
255e, 07, CAPSLOCK CODE
255f, 10, CAPSLOCK CODE
2560, 36, CAPSLOCK CODE
2561, 05, CAPSLOCK CODE
2562, 46, CAPSLOCK CODE
2563, 47, CAPSLOCK CODE
2564, 40, CAPSLOCK CODE
2565, 41, CAPSLOCK CODE
2566, 52, CAPSLOCK CODE
2567, 35, CAPSLOCK CODE
2568, 37, CAPSLOCK CODE
2569, 56, CAPSLOCK CODE
256a, 13, CAPSLOCK CODE
256b, 12, CAPSLOCK CODE
256c, 45, CAPSLOCK CODE
2573, 55, GRAPH
2584, 23, CAPSLOCK CODE
2588, 16, CAPSLOCK CODE
258c, 25, CAPSLOCK CODE
2592, 01, CAPSLOCK CODE
2593, 02, CAPSLOCK CODE
25a0, 80,
25CB, 16, GRAPH
25CF, 21, GRAPH
2660, 24, GRAPH
2663, 17, GRAPH
2665, 20, GRAPH
2666, 25, GRAPH
3001, 22, SHIFT CODE
3002, 23, SHIFT CODE
3008, 16, SHIFT CODE
3009, 21, SHIFT CODE
3041, 01, SHIFT CODE
3042, 01, CODE
3043, 02, SHIFT CODE
3044, 02, CODE
3045, 03, SHIFT CODE
3046, 03, CODE
3047, 04, SHIFT CODE
3048, 04, CODE
3049, 05, SHIFT CODE
304A, 05, CODE
304B, 46, CODE
304D, 54, CODE
304F, 32, CODE
3051, 47, CODE
3053, 51, CODE
3055, 26, CODE
3057, 50, CODE
3059, 31, CODE
305B, 33, CODE
305D, 34, CODE
305F, 57, CODE
3061, 55, CODE
3063, 30, SHIFT CODE
3064, 30, CODE
3066, 53, CODE
3068, 27, CODE
306A, 06, CODE
306B, 07, CODE
306C, 10, CODE
306D, 11, CODE
306E, 00, CODE
306F, 56, CODE
3072, 52, CODE
3075, 36, CODE
3078, 44, CODE
307B, 45, CODE
307E, 35, CODE
307F, 37, CODE
3080, 40, CODE
3081, 41, CODE
3082, 17, CODE
3083, 43, SHIFT CODE
3084, 43, CODE
3085, 42, SHIFT CODE
3086, 42, CODE
3087, 22, SHIFT CODE
3088, 22, CODE
3089, 12, CODE
308A, 13, CODE
308B, 14, CODE
308C, 15, CODE
308D, 16, CODE
308F, 23, CODE
3092, 24, CODE
3093, 25, CODE
309b, 15, CODE
309B, 20, CODE
309c, 16, CODE
309C, 21, CODE
30a1, 03, SHIFT CODE
30a2, 03, CODE
30a3, 32, SHIFT CODE
30a4, 32, CODE
30a5, 04, SHIFT CODE
30a6, 04, CODE
30a7, 05, SHIFT CODE
30a8, 05, CODE
30a9, 06, SHIFT CODE
30aa, 06, CODE
30ab, 51, CODE
30ad, 34, CODE
30af, 35, CODE
30b1, 20, CODE
30b3, 27, CODE
30b5, 55, CODE
30b7, 31, CODE
30b9, 47, CODE
30bb, 45, CODE
30bd, 30, CODE
30bf, 46, CODE
30c1, 26, CODE
30c3, 57, SHIFT CODE
30c4, 57, CODE
30c6, 54, CODE
30c8, 50, CODE
30ca, 52, CODE
30cb, 36, CODE
30cc, 01, CODE
30cd, 22, CODE
30ce, 40, CODE
30cf, 33, CODE
30d2, 53, CODE
30d5, 02, CODE
30d8, 13, CODE
30db, 12, CODE
30de, 37, CODE
30df, 43, CODE
30e0, 21, CODE
30e1, 24, CODE
30e2, 42, CODE
30e3, 07, SHIFT CODE
30e4, 07, CODE
30e5, 10, SHIFT CODE
30e6, 10, CODE
30e7, 11, SHIFT CODE
30e8, 11, CODE
30e9, 44, CODE
30ea, 41, CODE
30eb, 23, CODE
30ec, 17, CODE
30ed, 25, CODE
30ed, 25, CODE
30ef, 00, CODE
30f2, 00, SHIFT CODE
30f3, 56, CODE
30fb, 24, SHIFT CODE
30fc, 14, CODE
30FC, 20, SHIFT CODE
4E07, 00, GRAPH
4E2D, 41, GRAPH
5186, 14, GRAPH
5206, 42, GRAPH
5343, 11, GRAPH
571F, 07, GRAPH
5927, 23, GRAPH
5C0F, 22, GRAPH
5E74, 56, GRAPH
65E5, 01, GRAPH
6642, 35, GRAPH
6708, 02, GRAPH
6728, 05, GRAPH
6C34, 04, GRAPH
706B, 03, GRAPH
767E, 10, GRAPH
79D2, 50, GRAPH
91D1, 06, GRAPH
FF61, 24, SHIFT CODE
FF62, 16, SHIFT CODE
FF63, 21, SHIFT CODE
FF64, 23, SHIFT CODE
FF65, 25, SHIFT CODE
